package com.jly.mapper;

import com.jly.po.User;
import org.apache.ibatis.annotations.Param;

import java.io.IOException;
import java.util.List;

public interface UserMapper {

    void add(User user);

    void delete(@Param("id") int id);

    void update(User user);

    List<User> findAll() throws IOException;

}
